<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="component/layui/css/layui.css" />
    <script src="js/jQuery.js"></script>
    <script src="component/layui/layui.js"></script>

</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>欢迎来到嘀嗒企业云盘---DiDa企业云盘系统</legend>
</fieldset>

<div class="layui-carousel" id="test10" >
    <div carousel-item="">

    </div>
</div>
<script>
    layui.use(['carousel', 'form'], function(){
        var carousel = layui.carousel
            ,form = layui.form;

        //图片轮播
        carousel.render({
            elem: '#test10'
            ,width: '1120px'
            ,height: '420px'
            ,interval: 5000
        });

    });
</script>
</body>
</html>